{% extends "base.html" %}
{% load  bootstrap3 %}
{% block  title %} 资产导入{% endblock %}


{% block header-css %}

{% endblock %}



{% block page-content %}


<div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-lg-10">
            <h2>资产导入</h2>
            <ol class="breadcrumb">
                <li>
                    <a href="{% url "index" %}">主页</a>
                </li>
                <li>
                       <a href="{% url    'asset:asset_list' %}" >资产管理</a>
                </li>
                <li class="active">
                    <strong>资产导入</strong>
                </li>
            </ol>
        </div>
        <div class="col-lg-2">

        </div>
</div>
<div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-lg-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>资产信息</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li><a href="#">选项 1</a>
                                </li>
                                <li><a href="#">选项 2</a>
                                </li>
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">

                        <div class="table-responsive">

            <form	method="post"  action="{% url 'asset:asset_import' %}"	class="form"  enctype="multipart/form-data">
		{%	csrf_token	%}
		<div	class="container">
            <h5>模板 请在资产信息里面  不勾选任何信息，点击导出，即为模板</h5>
        <h5 style="color:red;">模板文件 必须 保持为  csv格式  格式不对 , 会导入错误</h5>

		{%	bootstrap_form	form	%}
		{%	buttons	%}
						<button	type="submit"	class="btn	btn-primary">
						提交
						</button>
		{%	endbuttons	%}

        {% for key, value in msg.items %}
           <h4> {{ key }}: {{ value }}  <br></h4>
       {% endfor %}
		</div>

</form>


                        </div>

                    </div>


                </div>
            </div>
        </div>






</div>


















{% endblock %}

{% block footer-js %}

{% endblock %}